﻿<%@ Page Language="C#" MasterPageFile="~/Manager/MasterPage/PageTemplate.Master"
    AutoEventWireup="true" CodeBehind="InventoryWarning.aspx.cs" Inherits="FrameWork.web.Module.FrameWork.UserManager.InventoryWarning" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="server">
    <link rel="stylesheet" type="text/css" href="<%=Page.ResolveUrl("~/") %>Manager/inc/FineMessBox/css/subModal.css" />
    <script type="text/javascript" src="<%=Page.ResolveUrl("~/") %>Manager/inc/FineMessBox/js/common.js"></script>
    <script type="text/javascript" src="<%=Page.ResolveUrl("~/") %>Manager/inc/FineMessBox/js/subModal.js"></script>
    <FrameWorkWebControls:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server"
        ButtonList-Capacity="4" HeadOPTxt="库存预警列表" HeadTitleTxt="库存预警" HeadHelpTxt="">
    </FrameWorkWebControls:HeadMenuWebControls>
    <FrameWorkWebControls:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
        <FrameWorkWebControls:TabOptionItem ID="TabOptionItem2" runat="server" Tab_Name="查询条件">
            <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
                <tr>
                    <td class="table_body table_body_NoWidth" style="width: 13%">
                        货主
                    </td>
                    <td class="table_none table_none_NoWidth" style="width: 20%">
                        <asp:DropDownList ID="ddlCustomer" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td class="table_body table_body_NoWidth" style="width: 13%">
                        仓库
                    </td>
                    <td class="table_none table_none_NoWidth" style="width: 20%">
                        <asp:DropDownList ID="U_Status" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td align="right" colspan="4">
                        <asp:Button ID="Button1" runat="server" CssClass="button_bak" OnClick="Button1_Click"
                            Text="查询" />
                    </td>
                </tr>
            </table>
        </FrameWorkWebControls:TabOptionItem>
        <FrameWorkWebControls:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="库存预警">
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
                <Columns>
                    <asp:TemplateField HeaderText="产品">
                        <ItemTemplate>
                            <asp:Label ID="Label1" runat="server" Text='<%# Bind("sku") %>'></asp:Label>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("sku") %>'></asp:TextBox>
                        </EditItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="chnname" HeaderText="产品名称" />
                    <asp:BoundField DataField="packetunit" HeaderText="单位" />
                    <asp:BoundField DataField="qty" HeaderText="数量" DataFormatString="{0:N2}"/>
                    <asp:BoundField DataField="qtyallocated" HeaderText="冻结数量" DataFormatString="{0:N2}"/>
                    <asp:BoundField DataField="qtycanuser" HeaderText="可用数量" DataFormatString="{0:N2}"/>
                    <asp:BoundField DataField="qtymax" HeaderText="库存上限" />
                    <asp:BoundField DataField="qtymin" HeaderText="库存下限" />
                </Columns>
            </asp:GridView>
            <FrameWorkWebControls:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged">
            </FrameWorkWebControls:AspNetPager>
            <table style="width: 100%">
                <tr>
                    <td align="right">
                        <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">导出结果</asp:LinkButton>
                    </td>
                </tr>
            </table>
        </FrameWorkWebControls:TabOptionItem>
    </FrameWorkWebControls:TabOptionWebControls>
    <asp:Label ID="labHeadText" runat="server" Text="" Visible="false"></asp:Label>
</asp:Content>
